<form name="form" method="post" action="{$modal.href}" class="nyroModal">
{t assignTo=title}Add a form{/t}
{include file="$MODULES_DIR/backoffice/templates/block/modal/ModalTitle.html" title=$title}
<div id="modalContent">
    <table class="listTable">
        <tr>
            <td>{t assignTo=help}Label - Label is used in back-office to identify the form.{/t}{icon name="help.png" class="toolTip" title=$help}</td>
            <td>{t}Label{/t} :</td>
            <td><input type="text" name="form[label]" value="" style="width:300px" /> {if isset($errors.label)}{icon name="warning.png"} {$errors.label}{/if}</td>
        </tr>
        <tr class="noLine">
            <td>{t assignTo=help}Pattern - You can select a default form pattern{/t}{icon name="help.png" class="toolTip" title=$help}</td>
            <td>{t}Template{/t}</td>
            <td>
                <select name="form[template]">
                    <option value="default">---</option>
                    {foreach from=$templates item=template}
                    <option value="{$template.name}">{$template.label}</option>
                    {/foreach}
                </select>
            </td>
        </tr>
    </table>
</div>
{include file="$MODULES_DIR/backoffice/templates/block/modal/ModalFooter.html"}
</form>